#ifndef INPUTELEMENT_H_INCLUDED
#define INPUTELEMENT_H_INCLUDED

class InputElement {
    private:
        double value;
        // the specific value at the given position (see one below)
        double* positionArray;
        // Array with all the specific data to get the position of the value (array length ist the dimension given at creation)
    public:
        InputElement();
        // empty constructor
        InputElement(double* myPosition, double& myValue, const unsigned int& myDimension);
        // constructor with values
        InputElement(const InputElement& ie, const unsigned int& dimension);
        // copyconstructor
        void set(const InputElement& ie, const unsigned int& dimension);
        // easy copy new values
        void set(double* myPosition, double& myValue, const unsigned int& myDimension);
        // set new values
        const double& getValue();
        // returns value
        const double* getPositionArray();
        // returns positionArray
        ~InputElement();
        // destructor
};

#endif // INPUTELEMENT_H_INCLUDED
